<div class="block block-{{ data.contentModel }}" id="{{ data.getId() }}">
    {% if data.name is defined AND data.displayTitle %}<h3 class="block-title">{{ data.name }}</h3>{% endif %}
    {% if nodeList %}
        <ul class="block-node-list">
            {% for item in nodeList %}
                <li>
                    <a href="{{ url(['for':'node','contentModel':item.contentModel,'id':item.getId()]) }}">{{ item.title }}</a>
                    <p class="meta">
                        <span>大小：{% if item.size is defined %}{{ item.size }}{% else %}10M{% endif %}</span>
                        <span>最近更新：{% if item.uptime is defined %}{{ item.uptime }}{% else %}最近{% endif %}</span>
                    </p>
                </li>
            {% endfor %}
        </ul>
    {% endif %}
</div>